package com.mice.view.select{
	import com.iyimo.scene.BaseScene;
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import com.mice.event.GameEvent;
	
	[Event(name="START_GAME", type="com.mice.event.GameEvent")]
	
	public class SelectLevelScene extends BaseScene{
		public function SelectLevelScene(rawView:MovieClip){
			super(rawView);
		}
		
		override protected function createView():void{
			_view.addEventListener(MouseEvent.CLICK, onClick);
		}
		
		private function onClick(e:MouseEvent):void{
			var ev:GameEvent = new GameEvent(GameEvent.START_GAME);
			dispatchEvent(ev);
		}
	}
}